import React from 'react';

// 树节点数据类型
export interface TreeNodeData {
  title: string;
  key: string;
  icon: React.ReactNode;
  children?: TreeNodeData[];
}

// 表格列数据类型
export interface TableColumnData {
  key: string;
  item: string;
  lineNumber: number;
  endBalance: string;
  beginBalance: string;
}

// 表单数据类型
export interface CompanyFormData {
  companyType?: string;
  unitNature?: string;
  companyName?: string;
  unitLeader?: string;
  accountingLeader?: string;
  financeLeader?: string;
  formFiller?: string;
  fillTime?: string;
  address?: string;
  phone?: string;
  areaCode?: string;
  phoneNumber?: string;
  extension?: string;
  mobile?: string;
  auditOrg?: string;
  auditSigner?: string;
  companyCode?: string;
  parentCompanyCode?: string;
}

// Tab项类型
export interface TabItem {
  key: string;
  label: string;
  children: React.ReactNode;
}
